// 用户中心/首页
Router.route('/i', {
  name: 'home',
  template: 'home_layout',
  yieldRegions: {
    'header': {to: 'header'},
    'footer': {to: 'footer'}
  },
  data: function () {
    return {
      homeContent: 'home'
    };
  },
  action: function () {
    DocHead.setTitle('Class / 个人中心');
    this.render();
  }
});

// 用户中心/首页/重置密码
Router.route('/i/reset', {
  name: 'home.reset',
  template: 'home_layout',
  yieldRegions: {
    'header': {to: 'header'},
    'footer': {to: 'footer'}
  },
  data: function () {
    return {
      homeContent: 'home_reset'
    };
  },
  action: function () {
    DocHead.setTitle('Class / 个人中心');
    this.render();
  }
});

// 用户中心/首页/修改个人信息
Router.route('/i/profile', {
  name: 'home.profiles',
  template: 'home_layout',
  yieldRegions: {
    'header': {to: 'header'},
    'footer': {to: 'footer'}
  },
  data: function () {
    return {
      homeContent: 'home_prifiles'
    };
  },
  action: function () {
    DocHead.setTitle('Class / 个人中心');
    this.render();
  }
});

// 用户中心/我的频道
Router.route('/channels', {
  name: 'home.channels',
  template: 'home_layout',
  yieldRegions: {
    'header': {to: 'header'},
    'footer': {to: 'footer'}
  },
  data: function () {
    return {
      homeContent: 'home_channels'
    };
  },
  action: function () {
    DocHead.setTitle('Class / 我的频道');
    this.render();
  }
});

// 用户中心/好友
Router.route('/friends', {
  name: 'home.friends',
  template: 'home_layout',
  yieldRegions: {
    'header': {to: 'header'},
    'footer': {to: 'footer'}
  },
  data: function () {
    return {
      homeContent: 'home_friends'
    };
  },
  action: function () {
    DocHead.setTitle('Class / 好友');
    this.render();
  }
});

// 用户中心/通知
Router.route('/notifications', {
  name: 'home.notifications',
  template: 'home_layout',
  yieldRegions: {
    'header': {to: 'header'},
    'footer': {to: 'footer'}
  },
  data: function () {
    return {
      homeContent: 'home_notifications'
    };
  },
  action: function () {
    DocHead.setTitle('Class / 通知');
    this.render();
  }
});

// 用户中心/设置
// settings
// home_settings